//
//  UIViewController+Base.h
//  PersonalTools
//
//  Created by Samuel on 2/9/15.
//  Copyright (c) 2015 Samuel. All rights reserved.
//

#import <UIKit/UIKit.h>
#define kUIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
@interface UIViewController (Base)
-(void)setTitle:(NSString *)title;
-(UIControl*)setMainTitle:(NSString *)mTitle andTitle:(NSString*)title;
- (UIButton*)setDefaultLeftButton;
- (UIButton*)setLeftButtonWithBack;
- (UIButton*)setDefaultRightButton;

@end
